using Nop.Core.Domain.Media;

namespace Nop.Data.Mapping.Media
{
    public partial class FilesMap : NopEntityTypeConfiguration<Files>
    {
        public FilesMap()
        {
            this.ToTable("Files");
            this.HasKey(c => c.Id);
            this.Property(p => p.MimeType).IsRequired().HasMaxLength(40);
            this.Property(p => p.SeoFilename).HasMaxLength(300);
        }
    }
}
